package com.party.course.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.course.domain.ApprovalInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 审批申请Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-29
 */
@Mapper
public interface ApprovalInfoMapper  extends BaseMapper<ApprovalInfo>
{
    /**
     * 查询审批申请
     *
     * @param id 审批申请主键
     * @return 审批申请
     */
    public ApprovalInfo selectApprovalInfoById(@Param("id") String id);

    /**
     * 查询审批申请列表
     *
     * @param approvalInfo 审批申请
     * @return 审批申请集合
     */
    public List<ApprovalInfo> selectApprovalInfoList(@Param("approvalInfo") ApprovalInfo approvalInfo);

    /**
     * 删除审批申请
     *
     * @param id 审批申请主键
     * @return 结果
     */
    public int deleteApprovalInfoById(@Param("id") String id);

    /**
     * 批量删除审批申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApprovalInfoByIds(@Param("ids") List<String> ids);
}
